home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / program / libkb100.zip / LIBKB-1.00 / MAKEFILE.INC < prev    next >
Text File  |  1996-07-23  |  2KB  |  68 lines

  1. #
  2. # libkb -- a free, advanced and portable low-level keyboard library
  3. # Copyright (C) 1995, 1996 Markus Franz Xaver Johannes Oberhumer
  4. # For conditions of distribution and use, see copyright notice in kb.h 
  5. #
  6.  
  7. #
  8. # this file is included by Makefile, makefile.dj2 and Makefile.mfx
  9. #
  10.  
  11. # /***********************************************************************
  12. # // source, objects and executable files
  13. # ************************************************************************/
  14.  
  15. SRCS = kbhandle.c kbmlock.c kbos.c kbsignal.c kbtables.c
  16.  
  17. OBJS = $(strip $(SRCS:.c=$O))
  18.  
  19.  
  20. .PHONY: distexe
  21.  
  22. DISTEXE := bin/kbtstdos.exe bin/kbtstlnx.out
  23.  
  24. distexe: $(DISTEXE)
  25.  
  26.  
  27. # /***********************************************************************
  28. # // common useful targets
  29. # ************************************************************************/
  30.  
  31. .PHONY: nm touch grep
  32.  
  33. nm: nm-$(C)
  34.  
  35. nm-DJG nm-EMX nm-LNX nm-lnx nm-: $(LIBKB)
  36.     nm --extern-only $<
  37.  
  38.  
  39. touch:
  40.     -$(TOUCH) -c -t 072301001996.00 * */* */*/*
  41. #                    MMDDhhmmCCYY.ss
  42.  
  43.  
  44.  
  45. UPPER_MAKE := Makefile Makefile.inc Makefile.lnx Makefile.mfx
  46.  
  47. UPPER_FILE := CHANGE.LOG COPYING.KB DESC.SDI FILE_ID.DIZ KB.DOC README.1ST
  48.  
  49.  
  50. grep:
  51.     -mfxgrep -lc   '\t' $(UPPER_FILE) include/kb.h
  52.     -mfxgrep -lcrB '\r' 
  53.     -mfxgrep -Lcri 'oberhumer' 
  54.  
  55.  
  56. # /***********************************************************************
  57. # // Dependencies and special rules
  58. # ************************************************************************/
  59.  
  60. _kbtable.hh: mktables$E
  61.     $< > $(shell_@)
  62.  
  63. kbhandle$O: kbhandle.c _handler.h _kblinux.h _kbmsdos.h 
  64. kbtables$O: kbtables.c _kbtable.hh _kbname.hh
  65. kbtst$O: kbtst.c myconio.h
  66. tube$O: tube.c tube.h
  67.  
  68.